(mac-dnd-drop-data): Remove redundant check.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 29 Mar 2008 00:33:44 +0000 (00:33 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 29 Mar 2008 00:33:44 +0000 (00:33 +0000)
lisp/term/mac-win.el

index 3ed2e5440a8887cfcb88fcb99a44f402236e7686..d76af52f15fc4e2d0d8081f228b1577fbea82712 100644 (file)
@@ -2253,7 +2253,7 @@ See also `mac-dnd-known-types'."
         (handler (cdr type-info))
         (w (posn-window (event-start event))))
     (when handler
-      (if (and (windowp w) (window-live-p w)
+      (if (and (window-live-p w)
               (not (window-minibuffer-p w))
               (not (window-dedicated-p w)))
          ;; If dropping in an ordinary window which we could use,